<?
	if (($_POST["username"] == "juan" && $_POST["password"] == "juan1234") || ($_POST["username"] == "xisco" && $_POST["password"] == "xisco1234"))
	{
			session_start(); // start session.
			$_SESSION["esvalido"] = "SI";
			if ($_POST["username"] == "juan"){
				$_SESSION["username"] = "Juan";
			} else {
				$_SESSION["username"] = "Xisket";
			}
			header("location: ../adminTI/admin.php");
			
	} else {
		header("location: lg-admin.php");
	}//if
		
?>